//本代码文件由代码生成器生成
//时间：2011-03-24 23:47:23

using System;
using System.Collections.Generic;
using System.Text;

namespace GreatB2C.Model
{
    /// <summary>
    /// PE_Survey调查表模型类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Survey
    {
        /// <summary>
        /// 调查问卷ID
        /// </summary>
        public Int32 SurveyID
        {
            get;
            set;
        }
        /// <summary>
        /// 调查问卷名称
        /// </summary>
        public String SurveyName
        {
            get;
            set;
        }
        /// <summary>
        /// 调查问卷描述
        /// </summary>
        public String Description
        {
            get;
            set;
        }
        /// <summary>
        /// 文件名
        /// </summary>
        public String FileName
        {
            get;
            set;
        }
        /// <summary>
        /// 同一IP允许重复提交次数
        /// </summary>
        public Int32 IPRepeat
        {
            get;
            set;
        }
        /// <summary>
        /// 创建日期
        /// </summary>
        public System.DateTime CreateDate
        {
            get;
            set;
        }
        /// <summary>
        /// 结束日期
        /// </summary>
        public System.DateTime EndTime
        {
            get;
            set;
        }
        /// <summary>
        /// 1--启用，0---没起用
        /// </summary>
        public Int32 IsOpen
        {
            get;
            set;
        }
        /// <summary>
        /// 登录后才能投票 (1--需要，0---不需要)
        /// </summary>
        public Int32 NeedLogin
        {
            get;
            set;
        }
        /// <summary>
        /// 注册会员参与者奖励点数
        /// </summary>
        public Int32 PresentPoint
        {
            get;
            set;
        }
        /// <summary>
        /// 限定IP段类型
        /// </summary>
        public Int32 LockIPType
        {
            get;
            set;
        }
        /// <summary>
        /// 设置IP限制,为空时，表示不启用
        /// </summary>
        public String SetIPLock
        {
            get;
            set;
        }
        /// <summary>
        /// 限定地址
        /// </summary>
        public String LockUrl
        {
            get;
            set;
        }
        /// <summary>
        /// 设置密码限制，为空时，表示不启用
        /// </summary>
        public String SetPassword
        {
            get;
            set;
        }
        /// <summary>
        /// 问卷模板
        /// </summary>
        public String Template
        {
            get;
            set;
        }
        /// <summary>
        /// 题目字段
        /// </summary>
        public String QuestionField
        {
            get;
            set;
        }
        /// <summary>
        /// 题目最大ID
        /// </summary>
        public Int32 QuestionMaxID
        {
            get;
            set;
        }
    }
}
